﻿<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>jQuery UI Slider - Range with fixed minimum</title>
<!--  <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">-->
  <link rel="stylesheet" href="css/blitzer/jquery-ui-min.css">
  <script src="js/jquery-1.9.1.js"></script>
  <script src="js/jquery-ui.js"></script>
  <script>
  $(function() {
    $( "#dialog" ).dialog({
      position: {my: "left top", at: "center bottom", of: "#toMe"},
      //appendTo: "#toMe",
      autoOpen: false,
			dialogClass: "no-close",
  		buttons: [
    	{
	      text: "OK",
	      click: function() {
        $( this ).dialog( "close" );
      	}
  	  }]
    });
 
    $( "#opener" ).click(function() {
      $( "#dialog" ).dialog( "open" );
    });
  });
  </script>
</head>
<body>
 
<div id="dialog" title="Basic dialog">
  <p>This is an animated dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
</div>
 
<button id="opener">Open Dialog</button>
<div id="toMe" style="width:200px;position:relative;left:200px;border:1 solid black"> asda dasa asdasdad ada dasd </div> 
 
</body>
</html>